package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.ServiceCart;
import org.linlinjava.litemall.db.domain.ServiceCartExample;

public interface ServiceCartMapper {
    long countByExample(ServiceCartExample example);

    int deleteByExample(ServiceCartExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ServiceCart record);

    int insertSelective(ServiceCart record);

    List<ServiceCart> selectByExample(ServiceCartExample example);

    ServiceCart selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ServiceCart record, @Param("example") ServiceCartExample example);

    int updateByExample(@Param("record") ServiceCart record, @Param("example") ServiceCartExample example);

    int updateByPrimaryKeySelective(ServiceCart record);

    int updateByPrimaryKey(ServiceCart record);
}